package com.soap.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @Description
 * @Author ZhangPY
 * @Date 2020/7/3
 */
@FeignClient("micro-service-search")
public interface MSSearchServiceFeign {


    @RequestMapping(value = "ms/search/user/insertUser" , method = RequestMethod.POST , consumes = "application/json")
    String insertUser(@RequestBody Map<String, Object> jsonMap);
}
